// 往往写的请求接口

//处理图片url路径
const attachImg=(url)=>{return baseUrl+url}
import {post, get, baseUrl} from '@/api/request'

const login =(url,data)=>{
    return post(url,data)
}
const getComments = (url)=>{return get(url)}
const release=(url,data)=>{return post(url,data)}
const reply=(url,data)=>{return post(url,data)}
//导出
export {
    login,getComments,attachImg,release,reply
}